<template>
	<view class="main">
		<u-navbar :is-back="true" title="销售月报表" :background="background" back-icon-color="#000000" title-color="#000"
			title-bold="true"></u-navbar>
		<view class="time">
			<view class="borders">
				<view class="start">
					<view class="year">
						2022.03.01
					</view>
					<view class="hour">
						00:00
					</view>
				</view>
				<view class="select">
					<u-icon name="arrow-down-fill" color="#979797" size="16"></u-icon>
				</view>
			</view>
			<view class="xian">
				<view class="serchs">
					查询
				</view>
			</view>
		</view>
		<view class="num">
			<view class="money">
				<text>销售总额</text>
				<view>¥0.00</view>
			</view>
			<view class="money">
				<text>销售单量</text>
				<view>2</view>
			</view>
			<view class="money">
				<text>平均客单价</text>
				<view>¥0.00</view>
			</view>
		</view>
		<view class="tables">
			<view class="titles">
				<view>商品</view>
				<view>销售金额</view>
				<view>销售单量</view>
				<view>客单价</view>
			</view>
			<view class="td">
				<text>圆通快递(一单
					—件)</text>
				<text>¥24.00</text>
				<text>8</text>
				<text>¥3.00</text>
			</view>

		</view>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				background: {
					backgroundColor: '#fff'
				},
				type: '',

			}
		},
		onLoad() {


		},
		mounted() {

		},
		onShow() {},
		methods: {


		}
	}
</script>
<style lang="scss">
	page {
		font-family: PingFang SC;
		width: 750rpx;
		margin: 0 auto;
		background-color: #f7f7f7;

		.main {
			width: 750rpx;
			margin: 0 auto;
			display: flex;
			flex-direction: column;
			align-items: center;

			.time {
				width: 750rpx;
				padding: 35rpx 50rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				background: #FFFFFF;

		

				.borders {
					margin-left: 110rpx;
					display: flex;
					align-items: center;
					border: 1px solid #CCCCCC;
					border-radius: 12rpx;
					.start {
						font-size: 22rpx;
						font-weight: 400;
						color: #000000;
						padding: 17rpx;
						border-right: 1px solid #CCCCCC;
						// display: flex;
						// flex-direction: column;
						// align-items: center;
						text-align: center;
					}

					.select {
						padding: 12rpx 10rpx;
					}
				}

				.xian {
			border-left: 3rpx solid #CCCCCC;
			padding-left: 29rpx;
					.serchs {
						margin: 16rpx 0;
						background: #FC7C33;
						border-radius: 10rpx;
						padding: 25rpx 36rpx 25rpx 36rpx;
						font-size: 28rpx;
						font-weight: 400;
						color: #FFFFFF;
					}
				}

			
			}

			.num {
				margin-top: 10rpx;
				width: 750rpx;
				padding: 42rpx 0;
				background: #FFFFFF;
				display: flex;
				align-items: center;
				justify-content: space-around;

				.money {
					display: flex;
					flex-direction: column;
					align-items: center;

					text {
						font-size: 22rpx;
						font-weight: 400;
						color: #4D4D4D;

					}

					view {
						padding-top: 16rpx;
						font-size: 30rpx;
						font-weight: 400;
						color: #000000;
					}
				}
			}

			.tables {
				width: 750rpx;

				.titles {
					display: flex;
					justify-content: space-around;
					background: #272A33;
					padding: 27rpx 0;

					view {
						width: 187.5rpx;
						text-align: center;
						font-size: 28rpx;
						font-weight: 400;
						color: #FFFFFF;
					}
				}

				.td {
					background-color: #fff;
					display: flex;
					align-items: center;
					text {
						padding: 23rpx 0;
						width: 187.5rpx;
						font-size: 26rpx;
						text-align: center;
						font-family: PingFang SC;
						font-weight: 400;
						color: #4C4C4C;
						line-height: 29rpx;
						
					}
				}

			}

		}
	}
</style>
